import React from 'react';
import './AdminPage.css'
import Header from '../../component/Header/Header';
import Sidebar from '../../component/Sidebar/Sidebar';
import AdminTable1 from '../../component/Table/AdminTable1'
import AdminTable2 from '../../component/Table/AdminTable2'
import UserBlock from '../../component/UserBlock/UserBlock';
import Commentarea from '../../component/Comment/comment'
import { Button, Divider, Typography, Table, Space} from 'antd';
import { useState } from 'react';
import axios from 'axios'

const { Title, Paragraph, Text, Link } = Typography;

function AdminPage() {

    return (
      <div className='Page'>
        <div className='PageHeader'>
          <Header />
        </div>
        <div className='Right'>
          {/* <UserBlock /> */}
        </div>
        <div className='Side'>
            <Sidebar />
            <div className='Contain'>
                <Typography>
                    <Title>管理员界面</Title>
                    <Divider />

                    <Title level={2} type='secondary'>可下载资料</Title>
                    <AdminTable1 />
                    <Divider />

                    <Title level={2} type='secondary'>网页链接</Title>
                    <AdminTable2 />
                    <Divider />
                </Typography>
            </div>
        </div>
        </div>
    )
}

export default AdminPage